package com.fangzc.codegen.entity.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * 表定义层。
 *
 * @author FANGZC-TB14
 * @since 2023-05-27
 */
public class TSysRole extends TableDef {

    public static final TSysRole sys_role = new TSysRole("sys_role");

    public QueryColumn role_id = new QueryColumn(this, "role_id");
    public QueryColumn role_name = new QueryColumn(this, "role_name");
    public QueryColumn role_key = new QueryColumn(this, "role_key");
    public QueryColumn role_sort = new QueryColumn(this, "role_sort");
    public QueryColumn data_scope = new QueryColumn(this, "data_scope");
    public QueryColumn menu_check_strictly = new QueryColumn(this, "menu_check_strictly");
    public QueryColumn dept_check_strictly = new QueryColumn(this, "dept_check_strictly");
    public QueryColumn status = new QueryColumn(this, "status");
    public QueryColumn del_flag = new QueryColumn(this, "del_flag");
    public QueryColumn create_by = new QueryColumn(this, "create_by");
    public QueryColumn create_time = new QueryColumn(this, "create_time");
    public QueryColumn update_by = new QueryColumn(this, "update_by");
    public QueryColumn update_time = new QueryColumn(this, "update_time");
    public QueryColumn remark = new QueryColumn(this, "remark");

    public QueryColumn[] default_columns = new QueryColumn[]{role_id, role_name, role_key, role_sort, data_scope, menu_check_strictly, dept_check_strictly, status, create_by, create_time, update_by, update_time, remark};
    public QueryColumn[] all_columns = new QueryColumn[]{role_id, role_name, role_key, role_sort, data_scope, menu_check_strictly, dept_check_strictly, status, del_flag, create_by, create_time, update_by, update_time, remark};

    public TSysRole(String tableName) {
        super(tableName);
    }
}
